﻿using System;
using System.Drawing;
using DC2010.Objects;
using DC2010.Objects.Base;
using DC2010.Objects.Data;

namespace DC2010.Effects
{
    public class I_PickChampion_Effect : EffectLogic
    {
        public I_PickChampion_Effect(EffectData ed)
            : base(ed)
        {
            ShortName = "Creates item";
            LongName = "This effect creates an item as parametrised.";
            Id = "I_PICK_CHAMPION_EFFECT";
            EffectType = EffectType.Instant;
        }

        public override void Instant(BaseObject aInvoker, BaseObject aTarget)
        {
            if (aTarget is ItemData)
            {
				// je to wallitem?
                ItemData c = (ItemData) aTarget;
                //get item id
                string pCharacterId = Data.Params.Find(A => A.Key == "CHARACTER_ID").Value;
				
				//display character select dialog...ressurect, reincarnate...
            }

            base.Instant(aInvoker, aTarget);
        }
    }
}
